<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
  <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
  <mapSources>
    <source type="WSDL">
      <schema location="../swCrearPersona.wsdl"/>
      <rootElement name="CREARPERSONAMC" namespace="http://mincetur.gob.pe/SIC/persona/crearPersona"/>
    </source>
  </mapSources>
  <mapTargets>
    <target type="WSDL">
      <schema location="../swCreaPersonaDA.wsdl"/>
      <rootElement name="InputParameters" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/sp/swCreaPersonaDA"/>
    </target>
  </mapTargets>
  <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.6.0(build 111214.0600.1553) AT [TUE JUN 04 20:52:38 COT 2013]. -->
?>
<xsl:stylesheet version="1.0"
                xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
                xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
                xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/sp/swCreaPersonaDA"
                xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
                xmlns:ns2="http://mincetur.gob.pe/SIC/utilitarios/errorMR"
                xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/Servicios+Web/swCrearPersona/swCreaPersonaDA"
                xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ora="http://schemas.oracle.com/xpath/extension"
                xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
                xmlns:ns1="http://mincetur.gob.pe/SIC/persona/crearPersona"
                xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
                xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
                xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
                xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
                xmlns:med="http://schemas.oracle.com/mediator/xpath"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
                xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
                xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
                xmlns:ns0="http://mincetur.gob.pe/SIC/persona/personaTipo"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:bpmn="http://schemas.oracle.com/bpm/xpath"
                xmlns:client="http://mincetur.gob.pe/SIC/persona/swCrearPersona"
                xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
                exclude-result-prefixes="xsi xsl ns2 plnk wsdl ns1 ns0 xsd client db tns xp20 bpws bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref bpmn ldap">
  <xsl:template match="/">
    <db:InputParameters>
      <db:X_ID_TIPOIDEN>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:DOCUMENTOSIDENTIFICACION/ns0:DOCUMENTOIDENTIFICACION/@ID_TIPOIDEN"/>
      </db:X_ID_TIPOIDEN>
      <db:X_COD_IDEN>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:DOCUMENTOSIDENTIFICACION/ns0:DOCUMENTOIDENTIFICACION/@COD_IDEN"/>
      </db:X_COD_IDEN>
      <db:X_ID_TIPOPERS>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/@ID_TIPOPERS"/>
      </db:X_ID_TIPOPERS>
      <db:X_DES_PERSORGA>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_JURIDICA/@DES_PERSORGA"/>
      </db:X_DES_PERSORGA>
      <db:X_DES_NOMBCOME>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_JURIDICA/@DES_NOMBCOME"/>
      </db:X_DES_NOMBCOME>
      <db:X_DES_GRUPEMPR>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_JURIDICA/@DES_GRUPEMPR"/>
      </db:X_DES_GRUPEMPR>
      <db:X_ID_TIPOEMPR>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_JURIDICA/@ID_TIPOEMPR"/>
      </db:X_ID_TIPOEMPR>
      <db:X_ID_TIPOORGA>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_JURIDICA/@ID_TIPOORGA"/>
      </db:X_ID_TIPOORGA>
      <db:X_DES_PRIMNOMB>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_NATURAL/@DES_PRIMNOMB"/>
      </db:X_DES_PRIMNOMB>
      <db:X_DES_SEGUNOMB>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_NATURAL/@DES_SEGUNOMB"/>
      </db:X_DES_SEGUNOMB>
      <db:X_DES_APELPATE>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_NATURAL/@DES_APELPATE"/>
      </db:X_DES_APELPATE>
      <db:X_DES_APELMATE>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_NATURAL/@DES_APELMATE"/>
      </db:X_DES_APELMATE>
      <db:X_ID_GENERO>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_NATURAL/@ID_GENERO"/>
      </db:X_ID_GENERO>
      <db:X_FEC_NACI>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_NATURAL/@FEC_NACI"/>
      </db:X_FEC_NACI>
      <db:X_ID_ESTACIVIL>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/ns0:TIPO_PERSONA/ns0:PERSONA_NATURAL/@ID_ESTACIVIL"/>
      </db:X_ID_ESTACIVIL>
      <db:X_DES_TELFFIJO>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@DES_TELFFIJO"/>
      </db:X_DES_TELFFIJO>
      <db:X_DES_TELFCELU>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@DES_TELFCELULAR"/>
      </db:X_DES_TELFCELU>
      <db:X_DES_TELFFAX>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@DES_TELFFAX"/>
      </db:X_DES_TELFFAX>
      <db:X_DES_CORREO>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@DES_CORREO"/>
      </db:X_DES_CORREO>
      <db:X_DES_UBIGEO>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@DES_UBIGEO"/>
      </db:X_DES_UBIGEO>
      <db:X_ID_VIA>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@ID_VIA"/>
      </db:X_ID_VIA>
      <db:X_DES_VIA>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@DES_VIA"/>
      </db:X_DES_VIA>
      <db:X_ID_ZONA>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@ID_ZONA"/>
      </db:X_ID_ZONA>
      <db:X_DES_ZONA>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@DES_ZONA"/>
      </db:X_DES_ZONA>
      <db:X_DES_UBICAEXT>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@DES_UBICAEXT"/>
      </db:X_DES_UBICAEXT>
      <db:X_DES_UBICAINTE>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@DES_UBICAINTE"/>
      </db:X_DES_UBICAINTE>
      <db:X_COD_NUMDIRE>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@COD_UBICAEXT"/>
      </db:X_COD_NUMDIRE>
      <db:X_COD_NUMINTERIOR>
        <xsl:value-of select="/ns1:CREARPERSONAMC/ns1:PERSONA/@COD_UBICAINTE"/>
      </db:X_COD_NUMINTERIOR>
    </db:InputParameters>
  </xsl:template>
</xsl:stylesheet>
